package com.djhu.newscollector.crawel.core;

import com.djhu.newscollector.core.entity.Response;
import com.djhu.newscollector.core.job.BaseJob;
import com.djhu.newscollector.core.worker.Worker;
import com.djhu.newscollector.crawel.base.Excute;
import com.djhu.newscollector.crawel.net.HttpVisitor;

/**
 * Created by zw on 2018/2/11.
 */
public class NewsVisitor implements Worker{

    private Excute excute;
    @Override
    public Response process(BaseJob job) {
        //Page page = HttpVisitor.class.requets(job);
        //excute.process(job,list);
        //for (list)
          //pattern(list)  是不是需要加到列表中
        //获取连接 假如列表

        //生成news信息 存入数据库。
        return null;
    }
}